﻿@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;700&display=swap');

:root {
    --color: #333;
}

body {
    font-family: 'Red Hat Text', sans-serif;
}

.container {
    text-align: center;
    color: var(--color);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../img/ToysMuseum/ToysMuseumBg.png);
    background-size: cover;
    background-position: center;
    /*  this is where the magic happens:  */
    background-attachment: fixed;
}

h1 {
    font-weight: 700;
    font-size: 3rem;
}

p {
    padding: 1em;
}

/*a {
    display: inline-block;
    padding: 1em 3.5em;
    background-color: var(--color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0.3em;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: .875rem;
}
*/
.blank,
.other {
    width: 100%;
    min-height: 60vh;
    background-image: url(../img/ToysMuseum/ToyBlank.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--color);
    position: relative;
}

    .blank img {
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        display: none; /* hide by default */
        background-attachment: fixed;
    }


.blanka {
    width: 100%;
    min-height: 60vh;
    background-image: url(../img/ToysMuseum/bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color);
}

    .blanka p {
        font-family: 'Rancho', sans-serif;
        font-size: 25px;
        color: #7c184e;
        font-weight: 700;
    }

    .blanka h3 {
        font-family: 'Rancho', cursive;
        text-shadow: 5px 3px 9px rgba(0, 0, 0, 0.5);
        font-size: 50px;
        margin: 60px 70px 0;
        margin-bottom: 20px;
        color: #fff;
    }

    .blanka img {
        position: sticky;
        z-index: 99;
        width: 50%;
        top: 2px;
    }

.second {
    background-image: url(../img/lifeskill/cleanbedroom.png);
    background-attachment: fixed;
    height: 1200px;
}

h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 1em;
}

.card > a {
    margin-bottom: 2em;
}

.item {
    display: flex;
    max-width: 320px;
    background-color: white;
    flex-direction: column;
    align-items: center;
    border-radius: .5em;
    -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
    box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.img {
    width: 90%;
    height: 200px;
    background-color: lightgrey;
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    border-radius: .3em;
    
}



.second {
    flex-direction: row;
    gap: 1.6em;
}

.text-center {
    text-align: center;
}

.back-to-top {
    width: 5%;
    position: fixed;
    left: 1%;
    z-index: 99;
}
